package com.sskj.xgja.mine;


import android.content.Context;
import android.content.Intent;

import com.sskj.base.view.ToolBarLayout;
import com.sskj.xgja.MVPActivity;
import com.sskj.xgja.R;

import butterknife.BindView;

/**
 * @author Hey
 * Create at  2019/06/24
 */
public class DetailActivity extends MVPActivity<DetailPresenter> {
    @BindView(R.id.toolbar)
    ToolBarLayout toolbar;


    @Override
    public int getLayoutId() {
        return R.layout.app_activity_detail;
    }

    @Override
    public DetailPresenter getPresenter() {
        return new DetailPresenter();
    }

    @Override
    public void initView() {

        toolbar.setLeftButtonOnClickListener(view -> finish());

    }

    @Override
    public void initData() {

    }

    public static void start(Context context){
        Intent intent=new Intent(context,DetailActivity.class);
        context.startActivity(intent);
    }
   
}
